package com.sc.entity;

import java.io.Serializable;

/**
 * (Category)实体类
 *
 * @author makejava
 * @since 2024-06-06 08:40:01
 */
public class Category implements Serializable {
    private static final long serialVersionUID = -57554465115598545L;
    /**
     * 主键id
     */
    private Integer id;
    /**
     * 名字
     */
    private String name;
    /**
     * 父id
     */
    private Integer parentId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

}

